<template>
  <div class="whole">

    <el-button @click="()=>$router.push('/fourth')">a</el-button>
    <el-button>aa</el-button>
    <el-button>aaa</el-button>
    <el-button>aaaa</el-button>
    <router-view></router-view>
  </div>
</template>

<script>
// import New from './components/New.vue';
export default {
  name: "Second",
  components: {
    // New,Old,
  },
  props: {
    sampleP: {
      type: Number,
      default: 0,
    },
  },
  data() {
    return {
      sampleD: "value",
    };
  },
  computed: {
    // sampleC() {
    //     return this.sampleD+'--';
    // }
  },
  created() {},
  mounted() {},
  methods: {
    sampleM() {},
    // goFourth(){
    //   this.$router.push("/fourth");
    // }
  },
  watch: {
    // sampleC(newValue, oldValue) {
    //
    // }
  },
};
</script>

<!--<style scoped>-->
<style lang="scss" scoped>
.whole {
  background-color: rgba(47, 65, 208, 0.71);
}
</style>
